{% extends "bootstrap/base.html" %}

{% block title %}Clips Home {% endblock %}

{% block navbar %}
{{super()}}
{% endblock %}

{% block content %}
<div class="container">
{% block page_content %}
{% for message in get_flashed_messages() %}
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{{ message }}
</div>
{% endfor %}

<div class="page-header">
    <h1>Hello, {% if current_user.is_authenticated %}{{ current_user.name }}{% else %}Stranger{% endif %}!</h1>
</div>
{% endblock %}
</div>
{% endblock %}

